from fastapi import APIRouter, Depends

from controllers.test_controller import oauth2_scheme

router = APIRouter(
    prefix="/user",
    tags=["测试数据库"],  # 中文标签
    responses={404: {"description": "未找到"}},
    dependencies=[Depends(oauth2_scheme)]  # 👈 全局依赖，所有路由都需要认证
)
